package com.example.employee.controller;

import com.example.common.service.Caozuo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class EmployeesController {
    @Autowired
    private Caozuo caozuo;

    @RequestMapping("/employees/test/{id}")
    public String test(@PathVariable String id){
        System.out.println(id);
        caozuo.m1();
        return "successs oooo";
    }
}
